package com.hibase.common.entity;

import lombok.Data;

import java.io.Serializable;


@Data
public class BaseResponseModel implements Serializable {

    /**   
	 * @Fields serialVersionUID : TODO
	 */   
	private static final long serialVersionUID = -778043109964982064L;

	/**
     * 返回码
     */
    private int code;

    /**
     * 返回信息
     */
    private String message;

    public BaseResponseModel(String message) {

        this.message = message;
    }

    public BaseResponseModel(int code) {

        this.code = code;
    }

    public BaseResponseModel(int code, String message) {

        this.code = code;
        this.message = message;
    }
}
